<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<!-- 把 JS数组 JS函数 JS对象的代码 每个敲三遍 -->
		<script>
			var a=[1,2.3,'jack'];
			console.log(a.length);
			console.log(a.concat('456'));
			console.log(a.toString().substr(1,4));
			
			var b= function (){
				console.log('方法b')
			}
			b();
			function m(){
				console.log('方法m')
			}
			m();
			
			var c=new b();
			c.name='sa'
			console.log(c.name)
			
			var c2 = {
				name:'jack',
				age:45,
				a : function(){
					console.log(45);
				}
			}
			c2.a();
			console.log(c2.name)
		</script>
		
	</head>
	<body>
	</body>
</html>
